package cn.hnh.controller;

import cn.hnh.service.AboutService;
import cn.hnh.vo.AboutVo;
import cn.hnh.vo.Result;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @Author HuangNianHong
 * @Time 2021/1/5
 */
@RestController
@Api(tags = "关于页面接口规范说明")
public class AboutController {
    @Autowired
    private AboutService aboutService;
    @ApiOperation(value = "查询关于我的信息")
    @RequestMapping("/about")
    public Result<AboutVo> getAbout(){
       return aboutService.getAbout();
    }
}
